﻿using opentel;
using System.Net;

namespace ConsoleApp1
{
    class Program
    {
        static void Main()
        {
            Console.WriteLine("optel demo");
            var otel = new OpenTelServer(5060, IPAddress.Any);
            Console.WriteLine("runing now");
            lock(otel) while (otel.Running) Monitor.Wait(otel, 3000);
            Console.WriteLine("Bye");
        }

    }
}
